package com.company.lagou.homework;

import java.util.Random;

public class lottery {

    public static void main(String[] args) {

        int[] arrRed = new int[6];
        Random ra = new Random();
        int Blue = ra.nextInt(16)+1;
        System.out.print("彩票号码为：");
        for(int i = 0; i < arrRed.length; i++) {
            arrRed[i] = (int)(Math.random()*33)+1;
            System.out.print(arrRed[i] + " ");
        }
        System.out.print(" " + Blue);



    }



}
